package com.userfactssample.client.client.screens;

import com.smartgwt.mobile.client.types.ImageStyle;
import com.smartgwt.mobile.client.widgets.Img;
import com.userfactssample.client.client.common.FontDecorator;
import com.userfactssample.client.client.framework.UMHeader2;
import com.userfactssample.client.client.framework.UMVLayout;

public class WelcomeScreen extends AbstractUMScreen{
	@Override
	public void buildMainScreen(UMVLayout container) {
		Img image = new Img("/images/ap-logo.png");
		image.setImageType(ImageStyle.CENTER);
		image.setWidth("100%");
		container.addMember(image);
		
		UMHeader2 header = new UMHeader2("Participate in survey");
        FontDecorator.decorateAsHeading(header);
        container.addMember(header);
	}
}
